package com.superjson.showpro.service;

import com.superjson.showpro.base.GenericService;
import com.superjson.showpro.entity.User;
import com.superjson.showpro.shared.result.Result;

import javax.servlet.http.HttpServletRequest;

public interface UserService extends GenericService<User> {

    Result saveUser(User user, HttpServletRequest request);

    Result<User> existUser(String phoneOrAccName, String companyName);

    Result<User> getByAccNameOrPhone(String phoneOrAccName, String password);
}